<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="__SELF__" data-auto="true" method="post">

    <div class="layui-form-item">
        <label class="layui-form-label">类型</label>
        <div class="layui-input-block">
            <select name="type" class="layui-input" style="display:block;" required>
				<option value='系统消息'>系统消息</option>
				<option value='系统消息'>交易消息</option>
				<option value='财务消息'>财务消息</option>
				<option value='帐户消息'>帐户消息</option>
				<option value='店铺消息'>店铺消息</option>
				<option value='商品消息'>商品消息</option>
				<option value='需求消息'>需求消息</option>
				<option value='任务消息'>任务消息</option>							
            </select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">标题</label>
        <div class="layui-input-block">
            <input type="text" name="title" value="" required="required" title="请输入标题" placeholder="请输入标题" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">内容</label>
        <div class="layui-input-block">
            <textarea name="content" id="" cols="30" rows="5" class="layui-textarea" maxlength="1024" required="required" placeholder="请输入内容"></textarea>
        </div>
    </div>

    <div class="hr-line-dashed"></div>

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>发送</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消吗？" data-close>取消</button>
    </div>

</form>

<script>
    // layui.use('form', function(){
    //     var form = layui.form; //只有执行了这一步，部分表单元素才会自动修饰成功
    //     form.render();
    // });
</script>
